Activitypub\Transformer\Post C

Total Complexity 124
Dependencies 8
Dependents 2
Total lines 985
Lines of code 496
Logical lines of code 284
Comment lines 348
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
get_media_from_blocks()
B
38 22 67
get_attachment()
A
47 8 34
get_enclosures()
S
50 7 29
get_type()
S
52 7 23
get_in_reply_to()
S
55 7 19
get_icon()
S
49 5 32
get_image()
S
49 5 31
get_actor_object()
S
59 5 16
get_content()
S
54 4 21
get_url()
S
55 4 19
get_tag()
S
57 4 17
get_summary()
S
64 4 9
get_name()
S
61 3 14
get_post_content_template()
S
60 3 13
get_self_interaction_policy()
S
62 3 13
get_quote_policy()
S
63 3 10
to_object()
S
61 2 12
get_content_visibility()
S
72 2 6
get_id()
S
66 2 8
get_audience()
S
66 2 8
get_updated()
S
67 2 8
is_preview()
S
79 2 3
get_block_attachments()
S
68 2 7
filter_media_by_object_type()
S
67 2 7
get_preview()
S
66 2 9
get_interaction_policy()
S
68 1 8
get_attributed_to()
S
81 1 3
generate_reply_link()
S
75 1 4
get_published()
S
75 1 4
get_mentions()
S
68 1 8
revert_embed_links()
S
75 1 4
wp_attachment_to_activity_attachment()
S
75 1 4
get_context()
S
79 1 3
get_replies()
S
80 1 3
get_likes()
S
68 1 7
get_shares()
S
68 1 7
get_public_interaction_policy()
S
72 1 6